<?php

namespace app\common\utils;

class PasswordUtil
{
    public static function encryptPassword(string $pasword): string
    {
        return md5($pasword);
    }

    public static function match(string $password, string $encryptedPassword): bool
    {
        return $password == $encryptedPassword;
    }
}